package com.wiretap.util;

public class Constants {
	// md5加密
	public static final String ENCODE_MD5 = "MD5";
	// session用户
	public static final String SESSION_USER = "YINLIN_ADMIN";
	// 验证码
	public static final String VALIDATE_CODE = "VALIDATE_CODE";
	// 上线时间
	public static final String SESSION_ONLINE_TIME = "SESSION_ONLINE_TIME";
	// 上线IP
	public static final String SESSION_ONLINE_IP = "SESSION_ONLINE_IP";
	/** 日期格式 */
	public static final String DATEFORMAT_YYYY_MM_DD_HH_MM_SS = "yyyy-MM-dd HH:mm:ss";
	public static final String DATEFORMAT_YYYY_MM_DD_HH_MM_SS_NO_SEPARATOR = "yyyyMMddHHmmssS";
	public static final String DATEFORMAT_YYYY_MM_DD_ACROSS = "yyyy-MM-dd";
	public static final String DATEFORMAT_YYYY_MM_DD_TITLED = "yyyy/MM/dd";
	public static final String DATEFORMAT_YYYY_MM_DD_HH_MM = "yyyy-MM-dd HH:mm";
	public static final String DATEFORMATE_YYYY_MM = "yyyy-MM";
	public static final String DATEFORMATE_YYYY_MM_DD_NO_SEPARATOR = "yyyyMMdd";
	public static final String DATEFORMAT_YYYY_MM_DD_NO_SEPARATOR = "yyyyMMdd";
	/** 状态值 */
	// 上线
	public static final String STATUS_ONLINE = "1";
	// 下线
	public static final String STATUS_OFFLINE = "0";
	public static final int DEFAULT_PAGESIEZE = 20;
}
